package com.nineclock.system.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @RestController = @Controller + @ResponseBody
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
@RestController
public class HelloController {

    @GetMapping("/echo")
    public String echo(){
        return "OK";
    }
}
